package cn.chiship.framework.business.core.task;

import cn.chiship.framework.common.annotation.JobAnnotation;
import org.springframework.stereotype.Component;

/**
 * @author lijian
 */
@Component
public class Example1Task {
    @JobAnnotation("执行Example1Task执行有参示例任务1")
    public void task1WithParams(String params) {
        System.out.println("执行有参示例任务1：" + params);
    }
    @JobAnnotation("执行Example1Task执行无参示例任务1")
    public void task1NoParams() {
        System.out.println("执行无参示例任务1");
    }
}